<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/3
  Time: 11:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<link rel="stylesheet" href="dist/layui-v2.4.2/css/layui.css">
<script type="text/javascript" src="dist/layui-v2.4.2/layui.js"></script>

<script type="text/javascript" src="dist/vue/vue.mini.js"></script>

<html>
<head>
    <title>会员列表</title>
</head>
<body>
jjjj
<table id="id-table-memberInfo"></table>


</body>
</html>
<script type="text/javascript">
    layui.use("table",function () {
        var table=layui.table;

        table.render({
            elem:"#id-table-memberInfo",
            height:500,
            url:"member_searchByConditions",
            page:true,
            request:{
              pageName:"currPageNo",
              limitName:"maxRows",
            },
            cols:[[
                {filed:"mid",title:"Id"},
                {filed:"maccount",title:"账号"},
                {filed:"mpwd",title:"密码"},
                {filed:"mphone",title:"手机号"},
                {filed:"mname",title:"名字"},
                {filed:"mpic",title:"图片"},
                {filed:"mstate",title:"状态"},
                {filed:"mflag",title:"禁用"},
            ]],
            parseData:function (res) {
                console.log("result=====");
                console.log(res);
            }
        });
    })

</script>